﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student : IComparable
    {
        internal object _name;
        internal object _age;
        internal object _stuid;

        public int Nun { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public Student(int Nun, string Name, int Age)
        {
            _stuid = Nun;
            _name = Name;
            _age= Age;
        }
        public Student() { }

        public override string ToString()
        {
            return $"学号：{_stuid} 姓名：{_name} 年龄：{_age}";
        }

        public int CompareTo(object obj, Student a1)
        {
            throw new NotImplementedException();
        }

        internal void Add(object stuid, Student ss)
        {
            throw new NotImplementedException();
        }
    }
}
